package com.epam.qanda.db.model;

import java.io.Serializable;

import com.epam.qanda.db.annotaion.DBFieldName;

public class UserAnswerLike implements Serializable {

	private static final long serialVersionUID = 1L;

	@DBFieldName("id")
	private Integer id;
	@DBFieldName("user_id")
	private Integer userId;
	@DBFieldName("answer_id")
	private Integer answerId;
	@DBFieldName("direction")
	private Boolean direction;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getAnswerId() {
		return answerId;
	}

	public void setAnswerId(Integer answerId) {
		this.answerId = answerId;
	}

	public Boolean getDirection() {
		return direction;
	}

	public void setDirection(Boolean direction) {
		this.direction = direction;
	}

	@Override
	public String toString() {
		return "UserAnswerLike [id=" + id + ", userId=" + userId
				+ ", answerId=" + answerId + ", direction=" + direction + "]";
	}

}
